package com.swx.identityservice.dtos.dealrole;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;

/**
 * @author LC
 * @version V1.0.0
 * @date 2018-6-1 15:24
 */
@Data
@ApiModel("新增审核人员Dto")
public class InsertDealRoleDto {

    @ApiModelProperty(value = "审核人员名称",example = "处长")
    @Column(name = "Name")
    private String name;
    @ApiModelProperty(value = "审批显示表头名称",example = "审批显示表头名称")
    @Column(name = "ShowIndexName")
    private String showindexname;
    @ApiModelProperty(value = "优先级",example = "1")
    @Column(name = "Priority")
    private Integer priority;

    @ApiModelProperty(value = "单位id",example = "1")
    @Column(name = "UnitId")
    private Integer unitid;

    @ApiModelProperty(value = "审批角色编码",example = "2")
    @Column(name = "NameCode")
    private String namecode;

    @ApiModelProperty(value = "是否拥有决定权",example = "true")
    @Column(name = "IsDecided")
    private boolean isdecided;

}



